home *** CD-ROM | disk | FTP | other *** search
/ synchro.net / synchro.net.tar / synchro.net / main / GAMES / cs2d.exe / {app} / sys / lua / server.lua < prev    next >
Encoding:
Text File  |  2011-03-25  |  3.1 KB  |  33 lines

  1. -------------------------------------------------------------------
  2. -- This file is where your Lua server scripts go!                --
  3. --                                                               --
  4. -- There are some sample scripts availabe! Just remove the       --
  5. -- comments ("--") in front of the dofile-lines to activate them!--
  6. -- All samples are stored in subtables of the Lua table "sample" --
  7. -- Do not use the "sample" table when writing own scripts!       --
  8. --                                                               --
  9. -- You can find&upload additional scripts at UnrealSoftware.de:  --
  10. -- EN: http://www.unrealsoftware.de/files_cat.php?cat=15&lan=2   --
  11. --                                                               --
  12. -- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --
  13. -- !!!Read sys/lua/info.txt for a CS2D Lua command reference!!!! --
  14. -- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --
  15. --                                                               --
  16. -- Enjoy! :D                                                     --
  17. -------------------------------------------------------------------
  18.  
  19. --dofile("sys/lua/samples/advertise.lua")            -- sample.ads [Just a welcome message + Advertising every minute] hooks: join, minute
  20. --dofile("sys/lua/samples/badwords.lua")            -- sample.badwords [A very simple badwords filter. Kicks players who use bad words] hooks: say
  21. --dofile("sys/lua/samples/sayfunctions.lua")        -- sample.sayfuncs [Additional say functions like date, time, idlers etc.] hooks: say
  22. --dofile("sys/lua/samples/utsfx.lua")                -- sample.ut [Adds UT Sounds like Humiliation, Doublekill, Multikill, etc.] hooks: startround, kill
  23. --dofile("sys/lua/samples/console.lua")                -- sample.console [Adds console commands "myserverinfo" and "healthlist"] hooks: parser
  24. --dofile("sys/lua/samples/regonly.lua")                -- sample.regonly [Only registered players are allowed to join a team] hooks: team
  25. --dofile("sys/lua/samples/classes.lua")                -- sample.classes [Different player classes with different weapons] hooks: team,menu,spawn,buy,walkover,drop,die,serveraction
  26. --dofile("sys/lua/samples/fastplayers.lua")            -- sample.fast [Make all players faster] hooks: spawn
  27. --dofile("sys/lua/samples/gungame.lua")                -- sample.gg [Simple Gun Game Mod] hooks: startround,join,spawn,kill,buy,walkover,drop,die
  28. --dofile("sys/lua/samples/glowingplayers.lua")        -- sample.glowing [Make all players glow using the Lua image commands] hooks: startround
  29. --dofile("sys/lua/samples/undestroyable.lua")        -- sample.undestroyable [Makes all dynamic objects undestroyable] hooks: objectdamage
  30. --dofile("sys/lua/samples/spawnequip.lua")            -- sample.spawnequip [Equip players with items on spawn] hooks: spawn
  31. --dofile("sys/lua/samples/cursors.lua")                -- sample.cursors [Show flares at cursor positions of players] hooks: clientdata, startround
  32. --dofile("sys/lua/samples/tween.lua")                -- sample.tween [Adds an image which follows player 1] hooks: second, startround
  33. --dofile("sys/lua/samples/hudtxt.lua")                -- sample.hudtxt [Adds a custom text to the HUD] hooks: second